Skip to content

ci(travis): utilize stages and add Android and iOS builds #1176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Mar 22, 2018

Conversation

hypery2k
Copy link
Contributor

  • Added native android build
  • Added iOS build in Travis
  • Utilize stages

* Added native android build
* Added iOS build in Travis
* Utilize stages
@ghost ghost added the ♥ community PR label Jan 29, 2018
@NativeScript NativeScript deleted a comment from ns-bot Feb 8, 2018
@NativeScript NativeScript deleted a comment from ns-bot Feb 8, 2018
@NativeScript NativeScript deleted a comment from ns-bot Feb 8, 2018
@NativeScript NativeScript deleted a comment from ns-bot Feb 8, 2018
@NativeScript NativeScript deleted a comment from ns-bot Feb 8, 2018
@NativeScript NativeScript deleted a comment from ns-bot Feb 8, 2018
@NativeScript NativeScript deleted a comment from ns-bot Feb 8, 2018
@NativeScript NativeScript deleted a comment from ns-bot Feb 8, 2018
@NativeScript NativeScript deleted a comment from ns-bot Feb 8, 2018
@NativeScript NativeScript deleted a comment from ns-bot Feb 8, 2018
@hypery2k
Copy link
Contributor Author

hypery2k commented Feb 8, 2018

@sis0k0 Any chance to get it merged?

@sis0k0
Copy link
Contributor

sis0k0 commented Feb 8, 2018

Great job, @hypery2k! I have only one concern, but I may be wrong. I think the building of the tests app is missing. It's removed from the config (https://github.com/NativeScript/nativescript-angular/pull/1176/files#diff-354f30a63fb0907d4ad57269548329e3L47) and I don't see it in the updated version. Is that intentional?

@hypery2k
Copy link
Contributor Author

hypery2k commented Feb 9, 2018

no it wasn't, just by accident

.travis.yml Outdated
- android-wait-for-emulator
- adb shell input keyevent 82 &
script:
- tns build android
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be the last step (after navigating to tests and running npm install)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sis0k0 the adb shell or the build?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping @hypery2k ^

@NativeScript NativeScript deleted a comment from ns-bot Feb 13, 2018
@sis0k0
Copy link
Contributor

sis0k0 commented Mar 13, 2018

ping @hypery2k c8d028c#r167857339

@hypery2k
Copy link
Contributor Author

@sis0k0 Could you trigger your jenkins ci build, also?

@@ -1,6 +1,12 @@
{
"nativescript": {
"id": "org.nativescript.ngtests"
"id": "org.nativescript.ngtests",
"tns-ios": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove the platforms here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, because than tns build will fail with version of undefined errors

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, change the versions to 'next' then :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done ;)

@sis0k0 sis0k0 changed the title Improved travis build ci(travis): utilize stages and add Android and iOS builds Mar 22, 2018
@sis0k0 sis0k0 merged commit 4b695b7 into NativeScript:master Mar 22, 2018
@ghost ghost removed the ♥ community PR label Mar 22, 2018
@hypery2k
Copy link
Contributor Author

thanks ;)

@hypery2k hypery2k deleted the travis_improvement branch March 22, 2018 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants